mui.init();
/*
 * 找回密码——点击下一步
 */
document.getElementById("retrieve_pwd").addEventListener("tap", function() {
	var register_phone = $("#register_phone").val(); //手机号码
	if(!register_phone) {
		mui.alert("请输入手机号码！")
		return false;
	}
	interfRequest.verification_code.data = {
		mobile: register_phone,
		type: 2
	}
	socialRequest(interfRequest.verification_code);
	mui.openWindow({
		url: 'register_pwd.html',
		id: 'register_pwd',
		extras: {
			register_phone: register_phone
		}
	});
})
/*
 * 找回密码_发送验证码方法
 */
function verification_codeHandle(data) {
	if(data.error_code == 10000) {
		console.log("找回密码_验证码 ==》" + JSON.stringify(data))
	}
}
/*
 * 找回密码_确定-成功函数回调方法
 */
function find_passHandle(data) {
	if(data.error_code == 10000) {
		mui.alert("密码找回成功！")
		mui.openWindow({
			url: 'login.html',
			id: 'login',
			createNew: true
		});
	} else {
		mui.alert(data.msg);
	}
}